/**
 * ProjectName doctor
 * FileName DeparmentService.java
 * PackageName com.doctor.service.impl
 * Date 2017年6月12日 下午1:04:56
 * Copyright (c) 2015, lyg945@163.com All Rights Reserved.
 */
package com.doctor.service;

import java.util.List;

import org.springframework.data.domain.Page;
import org.springframework.data.domain.PageRequest;
import org.springframework.data.domain.Pageable;

import com.doctor.entity.Department;
import com.doctor.entity.Doctor;

/**
 * @ClassName DeparmentService 
 * @Function TODO
 * @Date  2017年6月12日 下午1:04:56
 * @author 刘永刚
 * @version V1.00 
 * @since JDK 1.8  
 * @see
 */
public interface DeparmentService {

	List<Department> findAll();
	
    Page<Department> findAll(PageRequest pageRequest);

    Department findById(Long id);

    void saveOrUpdate(Department department);

    void delete(Long id);
	
	public int smsCode(String mobile);

}